from selenium import webdriver
from selenium.webdriver.common.by import By
from time import sleep

driver = webdriver.Edge()
driver.get('https://passport.suning.com/ids/login')
driver.maximize_window()
sleep(2)
# 点击qq
driver.find_element(By.XPATH,'/html/body/div[2]/div[1]/div/div[5]/div[1]/a[1]').click()
sleep(5)
driver.switch_to.frame(driver.find_element(By.XPATH,'//*[@id="ptlogin_iframe"]'))
sleep(2)
driver.find_element(By.ID,'img_out_1847537889').click()

sleep(10)
